package cn.imnaer.service.rest.view.model;

import cn.imnaer.service.persistence.model.TribalCity;

/**
 * Created by Administrator on 2015/8/1.
 */
public class TribalCityResponse {
    private String stateCode;
    private String stateName;
    private String countryCode;
    private String countryName;
    private String cityCode; //城市电话区号编码
    private String cityName; //城市名字
    private long count = 0L;

    public TribalCityResponse parse(TribalCity city) {
        this.stateCode = city.getStateCode();
        this.stateName = city.getStateName();
        this.countryCode = city.getCountryCode();
        this.countryName = city.getCountryName();
        this.cityCode = city.getCityCode();
        this.cityName = city.getCityName();
        return this;
    }

    public String getStateCode() {
        return stateCode;
    }

    public void setStateCode(String stateCode) {
        this.stateCode = stateCode;
    }

    public String getStateName() {
        return stateName;
    }

    public void setStateName(String stateName) {
        this.stateName = stateName;
    }

    public String getCountryCode() {
        return countryCode;
    }

    public void setCountryCode(String countryCode) {
        this.countryCode = countryCode;
    }

    public String getCountryName() {
        return countryName;
    }

    public void setCountryName(String countryName) {
        this.countryName = countryName;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public long getCount() {
        return count;
    }

    public void setCount(long count) {
        this.count = count;
    }
}
